]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Properly check for TerminalEmulator in the Categories key
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 28 Jan 2014 17:09:35 +0000 (12:09 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 28 Jan 2014 18:32:36 +0000 (13:32 -0500)
commit887a21afb97aaa358017a4722c23654aaa7e3d72
treef77366886b19d4b26b651e5f02cedaa969dbefa4
parent634adc9f717043c01a4dda75b08794cc71d23adc
appDisplay: Properly check for TerminalEmulator in the Categories key

get_categories() returns an unparsed string, not a list of categories.
We need to parse the list by splitting on ';' to deterine whether the
actual 'TerminalEmulator' category is in the list, rather than something
like 'X-GNOME-TerminalEmulator'. It's an edge case, but I need to split
the list properly for the new folders, so I might as well fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=723179
js/ui/appDisplay.js